package as3.component.manager
{
	import flash.geom.Point;
	
	public class TipManager 
	{
		private static var _instance:TipManager;
		
		public static const TIP_TYPE_COMMON:uint = 1 //普通的提示
		public static const TIP_TYPE_ERROR:uint = 2 //错误提示
		public static const TIP_TYPE_GAIN:uint = 3 //获取物品提示
		
		public function TipManager(singletonLock:SingletonLock)
		{
		}
		
		public static function runAt():void
		{
			
		}
		
		public static function Instance():TipManager
		{
			if (!_instance)
				_instance = new TipManager(new SingletonLock());
			return _instance;
		}
		
		public function showTip(msg:String,type:uint = 0,positon:Point = null):void
		{
//			var tip:IGYTip = new GYTip(msg,positon)
//			tip.type = type;
			//tip.show(GYGame.m_GYGame);
		}
	}
}

class SingletonLock{
	
}